//
//  JMEmptyStyleView.m
//  JMBaseProject
//
//  Created by Liuny on 2019/12/7.
//  Copyright © 2019 liuny. All rights reserved.
//

#import "JMEmptyStyleView.h"

@interface JMEmptyStyleView ()

@end

@implementation JMEmptyStyleView
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer {
    return YES;
}

-(instancetype)initWithXib{
    NSArray *nibView = [[NSBundle mainBundle] loadNibNamed:NSStringFromClass([self class]) owner:nil options:nil];
    self = nibView.firstObject;
    if(self){
        self.backgroundColor = [UIColor clearColor];
    }
    return self;
}

-(void)awakeFromNib {
    [super awakeFromNib];
//    [self.tipLabel setText:@"阿西吧"];
}

-(void)setIconStr:(NSString *)iconStr {
    _iconStr = iconStr;
    [self.iconImageView setImage:[UIImage imageNamed:iconStr]];
}

-(void)setTipStr:(NSString *)tipStr {
    _tipStr = tipStr;
    [self.tipLabel setText:tipStr];
}
@end
